<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxControllerFilters Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxControllerFilters.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classPxControllerFilters-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxControllerFilters Class Reference<div class="ingroups"><a class="el" href="group__character.html">Character</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Filtering data for "move" call.  
 <a href="classPxControllerFilters.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxController_8h_source.html">PxController.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PxControllerFilters:</div>
<div class="dyncontent">
<div class="center"><img src="classPxControllerFilters__coll__graph.png" border="0" usemap="#PxControllerFilters_coll__map" alt="Collaboration graph"/></div>
<map name="PxControllerFilters_coll__map" id="PxControllerFilters_coll__map">
<area shape="rect" id="node2" href="classPxFlags.html" title="PxFlags\&lt; PxQueryFlag\l::Enum, PxU16 \&gt;" alt="" coords="12,5,171,47"/>
<area shape="rect" id="node3" href="classPxQueryFilterCallback.html" title="Scene query filtering callbacks. " alt="" coords="15,71,167,98"/>
<area shape="rect" id="node4" href="structPxFilterData.html" title="PxFilterData is user&#45;definable data which gets passed into the collision filtering shader and/or call..." alt="" coords="44,122,139,149"/>
<area shape="rect" id="node5" href="classPxControllerFilterCallback.html" title="Dedicated filtering callback for CCT vs CCT. " alt="" coords="5,173,177,199"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a227af0c6a4dd87dc7b40e8ba4fda2c92"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerFilters.html#a227af0c6a4dd87dc7b40e8ba4fda2c92">PxControllerFilters</a> (const <a class="el" href="structPxFilterData.html">PxFilterData</a> *filterData=NULL, <a class="el" href="classPxQueryFilterCallback.html">PxQueryFilterCallback</a> *cb=NULL, <a class="el" href="classPxControllerFilterCallback.html">PxControllerFilterCallback</a> *cctFilterCb=NULL)</td></tr>
<tr class="separator:a227af0c6a4dd87dc7b40e8ba4fda2c92"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:acf5e6d944353328cb490c7627c697a82"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structPxFilterData.html">PxFilterData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerFilters.html#acf5e6d944353328cb490c7627c697a82">mFilterData</a></td></tr>
<tr class="separator:acf5e6d944353328cb490c7627c697a82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7ac0b3c1356b19fbe66db9309e181c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxQueryFilterCallback.html">PxQueryFilterCallback</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerFilters.html#ae7ac0b3c1356b19fbe66db9309e181c8">mFilterCallback</a></td></tr>
<tr class="memdesc:ae7ac0b3c1356b19fbe66db9309e181c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Custom filter logic (can be NULL). Passed to <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene::overlap()</a> call.  <a href="#ae7ac0b3c1356b19fbe66db9309e181c8">More...</a><br /></td></tr>
<tr class="separator:ae7ac0b3c1356b19fbe66db9309e181c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9281f07b97b88a5720d30282b97e086d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__scenequery.html#gaacf083b040f6c841644782282171bd61">PxQueryFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerFilters.html#a9281f07b97b88a5720d30282b97e086d">mFilterFlags</a></td></tr>
<tr class="memdesc:a9281f07b97b88a5720d30282b97e086d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flags for internal <a class="el" href="structPxQueryFilterData.html" title="Scene query filtering data. ">PxQueryFilterData</a> structure. Passed to <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene::overlap()</a> call.  <a href="#a9281f07b97b88a5720d30282b97e086d">More...</a><br /></td></tr>
<tr class="separator:a9281f07b97b88a5720d30282b97e086d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb0784a5f9495abad851ac52f313ee3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxControllerFilterCallback.html">PxControllerFilterCallback</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerFilters.html#acb0784a5f9495abad851ac52f313ee3f">mCCTFilterCallback</a></td></tr>
<tr class="memdesc:acb0784a5f9495abad851ac52f313ee3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">CCT-vs-CCT filter callback. If NULL, all CCT-vs-CCT collisions are kept.  <a href="#acb0784a5f9495abad851ac52f313ee3f">More...</a><br /></td></tr>
<tr class="separator:acb0784a5f9495abad851ac52f313ee3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Filtering data for "move" call. </p>
<p>This class contains all filtering-related parameters for the <a class="el" href="classPxController.html#a1cbd9da6b634f45585df92bb71e37782" title="Moves the character using a &quot;collide-and-slide&quot; algorithm. ">PxController::move()</a> call.</p>
<p>Collisions between a CCT and the world are filtered using the mFilterData, mFilterCallback and mFilterFlags members. These parameters are internally passed to <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene::overlap()</a> to find objects touched by the CCT. Please refer to the <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene::overlap()</a> documentation for details.</p>
<p>Collisions between a CCT and another CCT are filtered using the mCCTFilterCallback member. If this filter callback is not defined, none of the CCT-vs-CCT collisions are filtered, and each CCT will collide against all other CCTs.</p>
<dl class="section note"><dt>Note</dt><dd><a class="el" href="structPxQueryFlag.html#a2124ff0cff0a021e01e6880a1bba431fa2837a6ac649b29ee72af661b65f4d8ab">PxQueryFlag::eANY_HIT</a> and <a class="el" href="structPxQueryFlag.html#a2124ff0cff0a021e01e6880a1bba431fa98467f45e717fa0f52652f52b0ff9798">PxQueryFlag::eNO_BLOCK</a> are ignored in mFilterFlags.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxController.html#a1cbd9da6b634f45585df92bb71e37782" title="Moves the character using a &quot;collide-and-slide&quot; algorithm. ">PxController.move()</a> <a class="el" href="classPxControllerFilterCallback.html" title="Dedicated filtering callback for CCT vs CCT. ">PxControllerFilterCallback</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a227af0c6a4dd87dc7b40e8ba4fda2c92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a227af0c6a4dd87dc7b40e8ba4fda2c92">&#9670;&nbsp;</a></span>PxControllerFilters()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxControllerFilters::PxControllerFilters </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxFilterData.html">PxFilterData</a> *&#160;</td>
          <td class="paramname"><em>filterData</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxQueryFilterCallback.html">PxQueryFilterCallback</a> *&#160;</td>
          <td class="paramname"><em>cb</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxControllerFilterCallback.html">PxControllerFilterCallback</a> *&#160;</td>
          <td class="paramname"><em>cctFilterCb</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="acb0784a5f9495abad851ac52f313ee3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb0784a5f9495abad851ac52f313ee3f">&#9670;&nbsp;</a></span>mCCTFilterCallback</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxControllerFilterCallback.html">PxControllerFilterCallback</a>* PxControllerFilters::mCCTFilterCallback</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CCT-vs-CCT filter callback. If NULL, all CCT-vs-CCT collisions are kept. </p>

</div>
</div>
<a id="ae7ac0b3c1356b19fbe66db9309e181c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7ac0b3c1356b19fbe66db9309e181c8">&#9670;&nbsp;</a></span>mFilterCallback</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxQueryFilterCallback.html">PxQueryFilterCallback</a>* PxControllerFilters::mFilterCallback</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Custom filter logic (can be NULL). Passed to <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene::overlap()</a> call. </p>

</div>
</div>
<a id="acf5e6d944353328cb490c7627c697a82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf5e6d944353328cb490c7627c697a82">&#9670;&nbsp;</a></span>mFilterData</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structPxFilterData.html">PxFilterData</a>* PxControllerFilters::mFilterData</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Data for internal <a class="el" href="structPxQueryFilterData.html" title="Scene query filtering data. ">PxQueryFilterData</a> structure. Passed to <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene::overlap()</a> call. This can be NULL, in which case a default <a class="el" href="structPxFilterData.html" title="PxFilterData is user-definable data which gets passed into the collision filtering shader and/or call...">PxFilterData</a> is used. </p>

</div>
</div>
<a id="a9281f07b97b88a5720d30282b97e086d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9281f07b97b88a5720d30282b97e086d">&#9670;&nbsp;</a></span>mFilterFlags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__scenequery.html#gaacf083b040f6c841644782282171bd61">PxQueryFlags</a> PxControllerFilters::mFilterFlags</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flags for internal <a class="el" href="structPxQueryFilterData.html" title="Scene query filtering data. ">PxQueryFilterData</a> structure. Passed to <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene::overlap()</a> call. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxController_8h_source.html">PxController.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxControllerFilters.html">PxControllerFilters</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
